/**
 * 该文件通过脚本自动生成，请不要手动修改该文件
 * 生成时间：2023-3-16 14:8:44:192
 **/
export default class program {
  constructor(request) {
    this.request = request;
  }

  /**
   * 取消项目转计划--删除计划项目
   * @param {} * projectIds - 项目ID
   * @param {string} * runStatus - 流转状态,1:规划: 2:计划
   */
  post_program_delProjectJH(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/program/delProjectJH",
      method: "post",
      params: params,
    });
  }

  /**
   * 匹配ERP项目
     
   */
  post_program_matchingERPProject(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/program/matchingERPProject",
      method: "post",
      params: params,
    });
  }

  /**
   * 匹配PIS项目
   * @param {file} * file - file
   * @param {string} * tempType - 导入模板类型
   */
  post_program_matchingPISProject(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/program/matchingPISProject",
      method: "post",
      params: params,
    });
  }

  /**
   * 规划项目流转到计划项目
   * @param {} * projectIds - 项目ID
   */
  post_program_transProjectJH(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/program/transProjectJH",
      method: "post",
      params: params,
    });
  }

  /**
   * 规划项目流转到计划项目-评审
   * @param {string} * projectId - 项目ID
   * @param {string} * reviewProjectId - 评审项目ID
   * @param {integer} * versionid - 评审项目versionid
   */
  post_program_transReviewProjectJH(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/program/transReviewProjectJH",
      method: "post",
      params: params,
    });
  }

  /**
   * 更新项目编码
   * @param {} * projectId - 项目ID
   * @param {} projectCode - 项目编码
   */
  post_program_updateProjectCode(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/program/updateProjectCode",
      method: "post",
      params: params,
    });
  }
}
